<!-- $Id: user_account_check.htm 14216 2008-03-10 02:27:21Z testyang $ -->
{include file="pageheader.htm"}
<div class="main-div">
<form method="post" action="order.php" name="theForm" onsubmit="return validate();">
<table border="0" width="100%">
  <tr>
    <td colspan="2"><strong>申请信息：</strong><hr /></td>
  </tr>
    <tr >
    <td colspan="2" >
    <strong>申请人：</strong>{$order_return.user_name} &nbsp;&nbsp;<strong>申请类型：</strong>{$order_return.type_name} &nbsp;&nbsp;&nbsp;&nbsp;<strong>申请退款金额：</strong>{$order_return.request_fee} &nbsp;&nbsp;<strong>申请时间：</strong>{$order_return.ctime}
   &nbsp;&nbsp;<strong>订单号：</strong><a href="order.php?act=info&order_id={$order_return.order_id}">{$order_return.order_sn}</a> &nbsp;&nbsp;<strong>订单付款：</strong>{$order_return.money_paid}元(包括快递{$order_return.shipping_fee}元)
    
    <br /> <strong>申请备注：</strong>{$order_return.remark} {if $order_return.invoice_no}<strong>寄回快递：</strong>{$order_return.shipping_name}-{$order_return.invoice_no}{/if}
    {if $order_return.check_time}&nbsp;&nbsp;<strong>最新审核时间</strong>：{$order_return.check_time}{/if}<br /><br />
    </td>
  </tr>
  {if $order_return.img}
  <tr>
    <th width="15%" valign="middle" align="right" style="padding-bottom:20px;"><strong>申请凭证</strong>：</th>
    <td width="85%" style="padding-bottom:20px;">
      <img src="../mobile/{$order_return.img}"} class="img_xz" />
    </td>
  </tr>
  {/if}
 <tr>
    <th width="15%" valign="middle" align="right">实际退款金额：</th>
    <td width="85%">
      <input name="fact_fee" value="{$order_return.fact_fee}" />
    </td>
  </tr>
  <tr>
    <th width="15%" valign="middle" align="right">退款说明：</th>
    <td width="85%">
      <textarea name="check_remark" cols="55" rows="5">{$order_return.check_remark}</textarea>
    </td>
  </tr>
  {if $order_return.type>1&&$order_return.status>1}
<!--    <tr >
    <th width="15%" valign="middle" align="right"><strong>提示：</strong></th>
    <td width="85%">选填-快递信息，同步更新订单快递
    </td>
    <tr>
    <th width="15%" valign="middle" align="right">快递公司：</th>
    <td width="85%">
     <select name='ck_shipping_name' onchange="onclickTa(this)">
     <option value="其他快递" selected="selected">其他快递</option>
    <option value="申通快递" {if $order_return.ck_shipping_name=="申通快递"}selected="selected"{/if}>申通快递</option>
    <option value="中通快递" {if $order_return.ck_shipping_name=="中通快递"}selected="selected"{/if}>中通快递</option>
    <option value="汇通快递" {if $order_return.ck_shipping_name=="汇通快递"}selected="selected"{/if}>汇通快递</option>
    <option value="圆通快递" {if $order_return.ck_shipping_name=="圆通快递"}selected="selected"{/if}>圆通快递</option>
    <option value="韵达快递" {if $order_return.ck_shipping_name=="韵达快递"}selected="selected"{/if}>韵达快递</option>
    <option value="天天快递" {if $order_return.ck_shipping_name=="天天快递"}selected="selected"{/if}>天天快递</option>
    
    
    </select>
     <input name="ck_shipping_name2" id='ck_shipping_name2' type="text" size="30"   style="display:none;" value="{$order_return.ck_shipping_name}"/>
    </td>
  </tr>
    <tr>
    <th width="15%" valign="middle" align="right">快递单号：</th>
    <td width="85%">
      <textarea name="ck_invoice_no" cols="55" rows="5">{$order_return.ck_invoice_no}</textarea>
    </td>
  </tr>-->
  {/if}
<!--    <tr>
    <th width="15%" valign="middle" align="right">执行：</th>
    <td width="85%">
      <input type="radio" name="go_finish" value="0" checked="true" />手动执行{$order_return.type_name}
      <input type="radio" name="go_finish" value="1" />同步执行{$order_return.type_name}
    </td>
  </tr-->
  <tr>
    <th width="15%" valign="middle" align="right">审核：</th>
    <td>
      {if $order_return.status<2}<input type="radio" name="status" value="1" {if $order_return.status==1}checked="true"{/if} />待审核{/if}
      <input type="radio" name="status" value="2" {if $order_return.status==2}checked="true"{/if} />同意
      <input type="radio" name="status" value="3" {if $order_return.status==3}checked="true"{/if} />不同意
      {if $order_return.status>1}<input type="radio" name="status" value="4" {if $order_return.status==4}checked="true"{/if} />已结束{/if}
    </td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>
      <input type="hidden" name="act" value="order_return_post" />
      <input type="hidden" name="return_id" value="{$order_return.return_id}" />
      <input type="hidden" name="order_id" value="{$order_return.order_id}" />
      <input name="submit" type="submit" value="{$lang.button_submit}" class="button" />
      <input type="reset" value="{$lang.button_reset}" class="button" />
    </td>
  </tr>
  


</table>
</form>
</div>
{insert_scripts files="../js/utils.js,validator.js"}
{literal}
<script language="JavaScript">
<!--
document.forms['theForm'].elements['fact_fee'].focus();

/**
 * 检查表单输入的数据
 */
function validate()
{
    validator = new Validator("theForm");
    validator.required("check_remark",  deposit_notic_empty);
    return validator.passed();
}

onload = function()
{
    // 开始检查订单
    startCheckOrder();
}

  function onclickTa(obj)
  {
	  var vl=obj.value;
	  var sp= document.getElementById("ck_shipping_name2");
	  if(vl=='其他快递')
	  {
		  sp.style.display='';
	  }
	  else
	  {
		  sp.style.display='none';
	  }
  }
//-->
</script>
{/literal}
{include file="pagefooter.htm"}

<style>
.img_xz{ max-width:30%;}
</style>